.PHONY:all
all:threadTest threadTest2 threadTest4 GrabTickets threadTest5 \
	threadTest6 demo1
threadTest:threadTest.cc
	g++ -o $@ $^ -lpthread
demo1:demo1.cc
	g++ -o $@ $^ -lpthread
threadTest6:threadTest6.cc
	g++ -o $@ $^ -lpthread
threadTest2:threadTest2.cc
	g++ -o $@ $^ -lpthread
threadTest4:threadTest4.cc
	g++ -o $@ $^ -lpthread
threadTest5:threadTest5.cc
	g++ -o $@ $^ -lpthread
GrabTickets:GrabTickets.cc
	g++ -o $@ $^ -lpthread

.PHONY:clean
clean:
	rm -f threadTest demo1